// SUGARSCAPE MODEL FOR SWARM
// Based on Nelson Minar's 1996-1997 model; modified by 
// Andre Manoel (andremanoel@gmail.com) with research  
// purposes. See file README for more information.

#import "ObserverSwarm.h"
#import <simtools.h>   // initSwarm macro
#import <simtoolsgui.h>

int main (int argc, const char **argv)
{
  ObserverSwarm *observerSwarm;

  initSwarm (argc, argv);

  observerSwarm = [ObserverSwarm createBegin: globalZone];
  SET_WINDOW_GEOMETRY_RECORD_NAME (observerSwarm);
  observerSwarm = [observerSwarm createEnd];
  [observerSwarm buildObjects];
  [observerSwarm buildActions];
  [observerSwarm activateIn: nil];
  [observerSwarm go];

  return 0;
}
